package org.example;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@Slf4j
@MapperScan("org.example.mapper")
public class Application {

    public static void main(String[] args) {
        // springboot运行起来了
        SpringApplication.run(Application.class, args);
        log.info("------ springboot Application running ------");
    }
}
